﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data;
using Application;

namespace Business
{
    public static class BusinessImage
    {
        public static VOImage GetImageById(string id)
        {
            return ImageData.GetImage2(id);
        }
        
        public static List<VOImage> GetAllImages()
        {
            return ImageData.GetAllImages2();
        }
        
        public static void InsertImage(VOImage img)
        {
            ImageData.InsertImage(img);
        }
        
        public static Boolean DeleteImage(string id)
        {
            return false;
        }

        public static void UpdateImage(VOImage imgObj)
        {
            ImageData.UpdateImage(imgObj);
        }
    }
}
